package com.agp.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("古树分页查询条件")
public class AncientTreePageQueryDTO {
    //页码
    @ApiModelProperty(value = "页码", example = "1",position = 1)
    private Integer page;

    //每页数量
    @ApiModelProperty(value = "每页数量", example = "5",position = 2)
    private Integer pageSize;

    //古树中文名
    @ApiModelProperty(value = "古树中文名", example = "黄帝手植柏",position = 3)
    private String chineseName;

    //古树科名
    @ApiModelProperty(value = "古树科名", example = " 柏科Cupressaceae）",position = 4)
    private String familyName;

    //古树属名
    @ApiModelProperty(value = "古树属名", example = "侧柏属Platycladus",position = 5)
    private String genusName;

    //古树年龄
    @ApiModelProperty(value = "古树年龄", example = "100",position = 6)
    private Short estimatedAge;

    //古树保护等级
    @ApiModelProperty(value = "古树保护等级", example = "1",position = 7)
    private Integer protectionLevel;

    //古树地址
    @ApiModelProperty(value = "古树地址", example = "云南省昆明市昆明理工大学计算机重点实验室旁",position = 8)
    private String locationAddress;

    //创建时间范围
    @ApiModelProperty(value = "创建时间范围", example = "2023-06-01,2023-06-30",position = 9)
    private List<Date> dateRange;


}
